package com.hxzy.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;


@Getter
@Setter
@TableName(value = "tb_pref")
public class Pref implements Serializable{

	 @TableId(type = IdType.AUTO)
	private Integer id;//ID

    @TableField(value = "cate_id")
	private Integer cateId;//分类ID

    @TableField(value = "buy_money")
	private Integer buyMoney;//消费金额

    @TableField(value = "pre_money")
	private Integer preMoney;//优惠金额

    @TableField(value = "start_time")
	private Date startTime;//活动开始日期

    @TableField(value = "end_time")
	private Date endTime;//活动截至日期

    @TableField(value = "type")
	private String type;//类型,1:普通订单，2：限时活动


	private String state;//状态,1:有效，0：无效


}
